﻿
using BW.IBll;
using BW.IDal;
using BW.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.Bll
{
    public class StatesTypeBll : IStatesTypebLL
    {

         public StatesTypeBll(IBaerDal<StatesType> baerDa) 
        {
            BaerDa = baerDa;
        }

        public IBaerDal<StatesType> BaerDa { get; }

        /// <summary>
        /// 绑定职业下拉框
        /// </summary>
        /// <returns>返回受影响行数</returns>
        public  List<StatesType> statesTypes()
        {
            return BaerDa.GetAllAnync().ToList();


        }

    }
}
